export interface LoginParams {
  username: string
  password: string
}

export interface UserInfo {
  userId: number
  avatar?: string
  username: string
  desc?: string
  roles?: string[]
  buttons?: string[]
  routes?: string[]
  token: string
  data?: {
    token?: string
  }
}
